<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/content/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>图标</title>
		<t:resource types="jquery,lhgdialog,easyui" />
	</head>
	<body>
		<ui:datagrid name="iconList" idField="id" action="icon.do?datagrid" title="图标列表" sortName="iconType">
			<ui:column field="id" title="编码" sortable="false" hidden="true" />
			<ui:column field="iconCode" title="图标代码" sortable="false" query="true" />
			<ui:column field="iconName" title="图标名称" sortable="false" query="true" />
			<ui:column field="imagePath" title="图片地址" showImage="true" align="center" sortable="false" />
			<ui:column field="iconClass" title="图标样式" sortable="false" query="true" />
			<ui:column field="iconType" title="图标类型" dictionary="iconType" sortable="false" />
			<ui:column field="opt" title="操作" align="center" />
			<ui:deleteOpt url="icon.do?delete&id={id}" permiCode="system:icon:delete" message="确定要删除图标[{iconName}]吗？" title="删除图标" />
			<ui:toolbar iconCls="add" title="新增图标" permiCode="system:icon:save" url="icon.do?addorupdate" funname="add" />
			<ui:toolbar iconCls="edit" title="编辑图标" permiCode="system:icon:save" url="icon.do?addorupdate" funname="update" />
		</ui:datagrid>
	</body>
</html>